From: Ray Strode Date: Mon, 29 Jul 2013 18:37:10 +0000 (-0400) Subject: authPrompt: emit prompted when given a message X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3706 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=07b57de03edba9560817551c3db6abfa06e0046c;p=gnome-shell.git authPrompt: emit prompted when given a message Some pam modules prompt without expecting the user to type an answer back (e.g. "Please swipe finger"). We need to emit prompted in this case too, so the the dialog will get shown. https://bugzilla.gnome.org/show_bug.cgi?id=683437 --- diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js index c7648c292..640395afe 100644 --- a/js/gdm/authPrompt.js +++ b/js/gdm/authPrompt.js @@ -223,6 +223,7 @@ const AuthPrompt = new Lang.Class({ _onShowMessage: function(userVerifier, message, styleClass) { this.setMessage(message, styleClass); + this.emit('prompted'); }, _onVerificationFailed: function() {